{anchor:msg_retrieveallentities_0}
!! RetrieveAllEntities message
!!! Constructor
!!!! new COSA.Request.RetrieveAllEntities(filters, retrieveAsIfPublished, requestId)
|| Param || Type || Description ||
| filters | [COSA.EntityFilters|COSA Namespace#lib_entityfilters_0] | Entity Filters |
| retrieveAsIfPublished | {{boolean}} | Retrieve As If Published |
| requestId _(optional)_ | {{string}} | Request unique identifier (GUID) |
!!! Properties
|| Name || Type || Description ||
| entityFilters | [COSA.EntityFilters|COSA Namespace#lib_entityfilters_0] | EntityFilters |
| retrieveAsIfPublished | {{boolean}} | Retrieve As If Published |
| requestId _(optional)_ | {{string}} | Request unique identifier (GUID) |
!!! Example
{code:javascript}
var retrieveAllEntities_0 = new COSA.Request.RetrieveAllEntities(COSA.Const.EntityFilters.Attributes, true);
//message execution
retrieveAllEntities_0.execute(function ( r ) {
	//working with a response
});
//or
COSA.Request.Execute(retrieveAllEntities_0, function ( r ) {
	//working with a response
});
{code:javascript}

[Back to Top|#tbl_contents_0]